package org.example;

import org.example.entity.Student;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Main {
    public static void main(String[] args) {
        //System.out.println("Hello, World!");
        ApplicationContext context = new ClassPathXmlApplicationContext("Spring-context.xml");
        Student a = (Student) context.getBean("Student.Class");
        System.out.println(a);

    }
}